//
//  Globals.h
//  Conference
//
//  Created by chenxin on 12-11-15.
//
//

#import <Foundation/Foundation.h>

@interface Globals : NSObject
{

    NSString *sLanguage;
    NSString *sAlarmUpdate;
    NSString *sNewsUpdate;
    NSString *sPickUpUpdate;
    NSString *sSeeOffUpdate;
    NSString *sPlaceUpdate;
    NSString *sEleSpeakUpdate;
  
    UIView * progress_view;
    
    NSString *servierUrl;
    
    bool isThreadExit;
    
    int currentHeight;
}
@property (nonatomic) int currentHeight;

@property (nonatomic,retain) NSString *sLanguage;
@property (nonatomic,retain) NSString *sAlarmUpdate;
@property (nonatomic,retain) NSString *sNewsUpdate;
@property (nonatomic,retain) NSString *sPickUpUpdate;
@property (nonatomic,retain) NSString *sSeeOffUpdate;
@property (nonatomic,retain) NSString *sPlaceUpdate;
@property (nonatomic,retain) NSString *sEleSpeakUpdate;

@property (nonatomic) bool isThreadExit;

@property (nonatomic,retain) UIView *progress_view;

@property (nonatomic,retain)  NSString *servierUrl;
+(Globals *)getInstance;

-(void)showAlertView:(NSString *) msg;
-(CGSize)CalculationCellSize:(CGFloat)contentWidth fontSize:(int)fontSize content:(NSString*)content;

- (UIImage *)scaleImage:(UIImage *)image;

-(NSMutableArray*)getImageArray:(NSArray *)img;

-(NSMutableArray *)addDefaultImage:(NSArray *)url scroll:(UIScrollView *)scrollView height:(int)height;
@end
